package com.forlove.app.qselect.index.presenter;

import com.forlove.app.common.base.mvp.presenter.IBasePresenter;
import com.forlove.app.qselect.index.service.IIndexFragmentService;
import com.forlove.app.qselect.index.service.impl.IndexFragmentServiceImpl;
import com.forlove.app.qselect.index.view.IndexFragmentView;

/**
 * Created by yjl on 2017/10/29.
 */

public class IndexFragmentPresenter extends IBasePresenter {
    private IIndexFragmentService indexFragmentService;
    private IndexFragmentView indexFragmentView;

    public IndexFragmentPresenter(IndexFragmentView indexFragmentView) {
        this.indexFragmentView = indexFragmentView;
        if (indexFragmentService == null) {
            indexFragmentService = new IndexFragmentServiceImpl();
            setService(indexFragmentService);
        }
    }
}
